/**
 * 
 */
package com.jbpm.interceptor;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

import com.emms.domain.SysMenu;
import com.opensymphony.xwork2.validator.annotations.RequiredStringValidator;

/**
 * @功能说明：系统用户登录pojo对象
 * @作者： 吴道鸿
 * @创建日期： 2012-5-24 @
 */
public class SysUserLoginBean implements Serializable {
	private static final long serialVersionUID = -8276036708096528006L;

	private String id;
    //用户姓名
	private String realName;
	// 用户名
	private String userName;
	// 用户密码
	private String password;

	// 登录IP
	private String ip;

	// 组织机构名称
	private String orgName;
	// 组织机构ID
	private String orgId;
	//机构类型名
	private String orgTypeName;
	//机构类型id
	private String orgType;
	// 角色英文名称连接字符窜
	private String roleName;
	// 角色中文名连接字符串
	private String rolecnName;
	// 项目id
	private String projectId;
	// 项目名称
    private String projectName;
    //项目类型
    private String projectType;
	// 标段名称
	private String sectionId;
	//标段名
	private String sectionName;
	// 用户信息
	
	


	public String getProjectType() {
		return projectType;
	}

	public void setProjectType(String projectType) {
		this.projectType = projectType;
	}

	public String getRealName() {
		return realName;
	}

	public void setRealName(String realName) {
		this.realName = realName;
	}

	public String getOrgName() {
		return orgName;
	}

	public void setOrgName(String orgName) {
		this.orgName = orgName;
	}

	public String getOrgId() {
		return orgId;
	}

	public void setOrgId(String orgId) {
		this.orgId = orgId;
	}

	public String getRolecnName() {
		return rolecnName;
	}

	public void setRolecnName(String rolecnName) {
		this.rolecnName = rolecnName;
	}

	// 登录获取的菜单
	private List<SysMenu> menuList = new ArrayList<SysMenu>();

	public String getProjectid() {
		return projectId;
	}

	public void setProjectid(String projectid) {
		this.projectId = projectid;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getUserName() {
		return userName;
	}

	@RequiredStringValidator(key = "login.validate.userName")
	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getPassword() {
		return password;
	}

	@RequiredStringValidator(key = "login.validate.password")
	public void setPassword(String password) {
		this.password = password;
	}

	public List<SysMenu> getMenuList() {
		return menuList;
	}

	public void setMenuList(List<SysMenu> menuList) {
		this.menuList = menuList;
	}

	public String getIp() {
		return ip;
	}

	public void setIp(String ip) {
		this.ip = ip;
	}

	public String getRoleName() {
		return roleName;
	}

	public void setRoleName(String roleName) {
		this.roleName = roleName;
	}



	public String getProjectId() {
		return projectId;
	}

	public void setProjectId(String projectId) {
		this.projectId = projectId;
	}

	public String getSectionId() {
		return sectionId;
	}

	public void setSectionId(String sectionId) {
		this.sectionId = sectionId;
	}

	public String getOrgTypeName() {
		return orgTypeName;
	}

	public void setOrgTypeName(String orgTypeName) {
		this.orgTypeName = orgTypeName;
	}

	public String getOrgType() {
		return orgType;
	}

	public void setOrgType(String orgType) {
		this.orgType = orgType;
	}

	public String getSectionName() {
		return sectionName;
	}

	public void setSectionName(String sectionName) {
		this.sectionName = sectionName;
	}

	public String getProjectName() {
		return projectName;
	}

	public void setProjectName(String projectName) {
		this.projectName = projectName;
	}

	private Date loginTime;//登录时间
	private Boolean statuts;//登录情况:false被强制提出
	private String sessionId;//sessionId
	public Date getLoginTime() {
		return loginTime;
	}

	public void setLoginTime(Date loginTime) {
		this.loginTime = loginTime;
	}

	public Boolean getStatuts() {
		return statuts;
	}

	public void setStatuts(Boolean statuts) {
		this.statuts = statuts;
	}

	public String getSessionId() {
		return sessionId;
	}

	public void setSessionId(String sessionId) {
		this.sessionId = sessionId;
	}
	
}
